package com.lvmama.dashboard.dao.user;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.dashboard.entity.UserUser;

public interface IUserUserDao {
	public List<UserUser> queryBy(UserUser user);
	public UserUser queryByUserId(@Param("userId")int userId);
	public UserUser queryByUsername(@Param("username")String username);
	public int insert(UserUser user);
	public int update(UserUser user);
	public int delete(@Param("userId")int userId);
}
